#ifndef SLINGSHOT_H
#define SLINGSHOT_H

#include "Input.h"
#include "AnimatedSprite.h"

class Slingshot : public AnimatedSprite
{
	public:
		void Initialise(HDC*, LPSTR, int, int, int, int, float, float, float, float, Input* myInput);
		void Update();
		void ToggleFired();

		inline bool getFired(){ return fired; };
		inline int getMouseX(){ return mouseX; };
		inline int getMouseY(){ return mouseY; };
		inline void setMouseX(int xPos){ mouseX = xPos; };
		inline void setMouseY(int yPos){ mouseY = yPos; };
		inline bool isMouseClicked(){ return mouseclicked; };

	private:
		int xCentre, yCentre, mouseX, mouseY; // variables for storing position and size
		bool mouseclicked;
		bool fired;
	
		Input* input;
};
#endif